package com.szeastroc.eureka;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;

@EnableHystrix
@EnableEurekaClient
@SpringBootApplication
@EnableHystrixDashboard
public class EurekaRibbonClientApplication {

	 private final static Logger logger = LoggerFactory.getLogger(EurekaRibbonClientApplication.class);
	
	public static void main(String[] args) {
		SpringApplication.run(EurekaRibbonClientApplication.class, args);
		logger.info("------------start success!------------");
	}
}
